include_directories(/usr/include/mysql)
link_directories(/usr/lib/mysql)
add_executable(WebServer02
        Semaphore.cpp Semaphore.hpp
        Locker.cpp Locker.hpp
        Condition.cpp Condition.hpp
        Main.cpp
        HttpConnect2.cpp HttpConnect2.hpp
        HttpConnectNeed.cpp HttpConnectNeed.hpp
        ThreadPool2.cpp ThreadPool2.hpp DbConnectionPool.cpp DbConnectionPool.hpp)

target_link_libraries(WebServer02 pthread)
target_link_libraries(WebServer02 mysqlclient)